import javax.servlet.http.HttpSession

/**
 * Logout Controller (Example).
 */
class LogoutController {

        static navigation = true
	/**
	 * Index action. Redirects to the Spring security logout uri.
	 */
	def index = {
                session.user = null
		redirect(uri: '/j_spring_security_logout')
                //HttpSession s = request.getSession()
                //s.invalidate()
                //render(template: '../home/menuContent')
	}


}
